//
//  WHRegisterVC.m
//  WHEasyBizLink
//
//  Created by hyf on 2025/9/20.
//

#import "WHRegisterVC.h"
#import "WHRegisterView.h"

@interface WHRegisterVC ()

@property (nonatomic,strong)WHRegisterView *wRegisterView;

@end

@implementation WHRegisterVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.layer.contents = (__bridge id _Nullable)([UIImage imageNamed:@"enterprise_bg"].CGImage);
    self.view.backgroundColor = [UIColor clearColor];
    
    [self.view addSubview:self.wRegisterView];
}

//点屏幕退出键盘
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
    [self.view endEditing:YES];
}

-(WHRegisterView *)wRegisterView
{
    if (!_wRegisterView) {
        _wRegisterView = [[WHRegisterView alloc]initWithFrame:CGRectMake(0, 0, ScreenW, ScreenH)];
    }
    return _wRegisterView;
}

@end
